#ifndef ACTORBARREL_H
#define ACTORBARREL_H

#pragma once

#include "StateSet.h"
#include "Actor.h"
#include "SpriteBarrel.h"
#include "CollisionDetection.h"

class ActorBarrel:public Actor{
public:
	StateSet* states;
	SpriteBarrel* grafic;
	int actualState;
	int downdelay;
	bool ready;
public:
	ActorBarrel(CL_GraphicContext gc, StateSet* states);
	void process();
	void reset();
	void drawabarrel(CL_Vec2<int> pos);
	~ActorBarrel();
};

#endif